﻿@model IEnumerable<VietPremier.EntityBrouchure>

<div class="brochure">
    <h6>Brochure du lịch 2013</h6>
    <a href="#frmWrite1"  role="button" data-toggle="modal">
        <img src="@Url.Content("~/Content/cssFrontEnd/images/brochure.png")" /></a>
</div>

<div id="frmWrite1" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-header">
            <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
            <h3>Chọn tập tin bạn muốn lưu trữ</h3>
        </div>
        <div class="modal-body">
            <div class="form-horizontal">
                <div class="control-group">
                    @foreach(var item in Model)
                    {
                        var file = "content/upload/brouchure/" + @item.LinkDownload;
                        <div class="controls-group">
                            <div class="row-fluid">
                                <label class="control" for="inputWrite">@item.Name:   <a href="@file">Download</a> </label>
                            </div>
                        </div>
                    }
                </div>                
            </div>
        </div>
    </div>